package cate.game.rank.cross.h;

import cate.game.rank.cross.CrossRankMessageModule;
import cate.game.role.Role;

public class PowerCrossRankLoader extends BaseCrossRankLoader {
    public PowerCrossRankLoader(CrossRankMessageModule module, int rankId) {
        super(module, rankId, UpdateType.SPECIFIC_TIME);
    }

    @Override
    public long getRoleCurrentValue(Role role) {
        return role.getBase().power;
    }

    @Override
    public long getRoleCurrentExtraValue(Role role) {
        return 0;
    }

    @Override
    public long getConditionValue() {
        return 300000;
    }
}
